import request from '@/utils/request'

// 活动添加
export function startActivity(data) {
  return request({
    url: '/do?c=520001',
    method: 'post',
    data: data
  })
}
// 活动列表
export function listActivity(data) {
  return request({
    url: '/do?c=520002',
    method: 'post',
    data: data
  })
}
// 活动编辑保存
export function activitySaveForEdit(data) {
  return request({
    url: '/do?c=520005',
    method: 'post',
    data: data
  })
}
// 活动删除
export function activityRemove(data) {
  return request({
    url: '/do?c=520006',
    method: 'post',
    data: data
  })
}
// 活动编辑回显
export function activityQueryForEdit(data) {
  return request({
    url: '/do?c=520004',
    method: 'post',
    data: data
  })
}
// 活动报名人员信息
export function activityStudentList(data) {
  return request({
    url: '/do?c=520024',
    method: 'post',
    data: data
  })
}
// 活动报名人员信息导出
export function activityStudentExcel(data) {
  return request({
    url: '/do?c=520026',
    method: 'post',
    data: data
  })
}
// 活动发布
export function activityPublish(data) {
  return request({
    url: '/do?c=520003',
    method: 'post',
    data: data
  })
}
// 活动导出
export function activityExport(data) {
  return request({
    url: '/do?c=520022',
    method: 'post',
    data: data
  })
}
// 活动修改活动开始时间
export function activityEditForStartTime(data) {
  return request({
    url: '/do?c=520008',
    method: 'post',
    data: data
  })
}
// 活动修改报名截止日期
export function activityEditForApplyEndTime(data) {
  return request({
    url: '/do?c=520007',
    method: 'post',
    data: data
  })
}
// 活动取消
export function activityClose(data) {
  return request({
    url: '/do?c=520009',
    method: 'post',
    data: data
  })
}
// 活动订单
export function activityOrder(data) {
  return request({
    url: '/do?c=520019',
    method: 'post',
    data: data
  })
}
// 活动订单退款
export function activityOrderRefund(data) {
  return request({
    url: '/do?c=520020',
    method: 'post',
    data: data
  })
}
// 报名详情
export function applyOrderDetail(data) {
  return request({
    url: '/do?c=520025',
    method: 'post',
    data: data
  })
}
// 活动报名记录列表
export function signRecordList(data) {
  return request({
    url: '/do?c=520029',
    method: 'post',
    data: data
  })
}
// 报名核销/撤销
export function signStatusUpdate(data) {
  return request({
    url: '/do?c=520031',
    method: 'post',
    data: data
  })
}
// 活动报名导出
export function signRecordListExport(data) {
  return request({
    url: '/do?c=520030',
    method: 'post',
    data: data
  })
}
// 批量核销
export function batchHXSign(data) {
  return request({
    url: '/do?c=520032',
    method: 'post',
    data: data
  })
}

